<template>
    <div class="home">
        <HeaderBar></HeaderBar>
        <div class="container">
            <RouterView></RouterView>
        </div>
    </div>
</template>
<script lang="ts" setup>
import HeaderBar from '@/components/header/index.vue'
import { useUserStore } from '@/stores/user'
const userStore = useUserStore()
userStore.setToken()
userStore.setMyInfo()
</script>

<style scoped>
.home {
    .container {
        min-width: 768px;
        margin: 0 auto;
        padding-top: 72px;
    }
}
</style>
